package com.ruoyi.management.basics.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;

/**
 * 驾驶员商户信息对象 t_employee_mer
 * 
 * @author ruoyi
 * @date 2021-12-07
 */
@Data
public class TEmployeeMer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 驾驶员 id */
    @Excel(name = "驾驶员 id")
    private Long employeeId;

    /** 商户代码 */
    @Excel(name = "商户代码")
    @NotBlank(message = "商户代码不能为空")
    private String merchantid;

    /** 商户柜台代码 */
    @Excel(name = "商户柜台代码")
    @NotBlank(message = "商户柜台代码不能为空")
    private String postid;

    /** 分行代码 */
    @Excel(name = "分行")
    @NotBlank(message = "分行不能为空")
    private String branchid;

    /** 秘钥 */
    @Excel(name = "秘钥")
    @NotBlank(message = "秘钥不能为空")
    private String secretkey;

    /** pub32tr2 */
    @Excel(name = "pub32tr2")
    private String pub32tr2;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setMerchantid(String merchantid) 
    {
        this.merchantid = merchantid;
    }

    public String getMerchantid() 
    {
        return merchantid;
    }
    public void setPostid(String postid) 
    {
        this.postid = postid;
    }

    public String getPostid() 
    {
        return postid;
    }
    public void setBranchid(String branchid) 
    {
        this.branchid = branchid;
    }

    public String getBranchid() 
    {
        return branchid;
    }
    public void setSecretkey(String secretkey) 
    {
        this.secretkey = secretkey;
    }

    public String getSecretkey() 
    {
        return secretkey;
    }
    public void setPub32tr2(String pub32tr2) 
    {
        this.pub32tr2 = pub32tr2;
    }

    public String getPub32tr2() 
    {
        return pub32tr2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("employeeId", getEmployeeId())
            .append("merchantid", getMerchantid())
            .append("postid", getPostid())
            .append("branchid", getBranchid())
            .append("secretkey", getSecretkey())
            .append("pub32tr2", getPub32tr2())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
